package com.chenglai.classify.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_goodsClassify" )
@Table( name ="t_cl_goodsClassify" )
public class GoodsClassify  implements Serializable {

    @Id
   	@Column(name = "classify_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer classifyId;

	/**
	 * 分类登记  1级2级3级
	 */
   	@Column(name = "classify_type" )
	@ApiModelProperty( value="分类登记  1级2级3级")
	private Integer classifyType;

	/**
	 * 分类名称
	 */
   	@Column(name = "classify_name" )
	@ApiModelProperty( value="分类名称")
	private String classifyName;

	/**
	 * 分类排序
	 */
   	@Column(name = "classify_rank" )
	@ApiModelProperty( value="分类排序")
	private Integer classifyRank;

	/**
	 * 分类图标
	 */
   	@Column(name = "classify_icon" )
	@ApiModelProperty( value="分类图标")
	private String classifyIcon;

	/**
	 * 分类大图
	 */
   	@Column(name = "classify_bigPic" )
	@ApiModelProperty( value="分类大图")
	private String classifyBigPic;

	/**
	 * 分类广告图
	 */
   	@Column(name = "classify_advPic" )
	@ApiModelProperty( value="分类广告图")
	private String classifyAdvPic;

	/**
	 * 分类广告链接
	 */
   	@Column(name = "classify_advUrl" )
	@ApiModelProperty( value="分类广告链接")
	private String classifyAdvUrl;

	/**
	 * 是否启用
	 */
   	@Column(name = "classify_status" )
	@ApiModelProperty( value="是否启用")
	private Integer classifyStatus;

	/**
	 * 是否展示
	 */
   	@Column(name = "classify_show" )
	@ApiModelProperty( value="是否展示")
	private Integer classifyShow;

    /**
     * 门店ID
     */
    @Column(name = "shop_id" )
    @ApiModelProperty( value="门店ID")
    private Integer shopId;

    /**
     * 上级ID，如果是1级，则为0
     */
    @Column(name = "parent_id" )
    @ApiModelProperty( value="上级ID，如果是1级，则为0")
    private Integer parentId;

  public Integer getClassifyId() {
    return classifyId;
  }

  public void setClassifyId(Integer classifyId) {
    this.classifyId = classifyId;
  }


  public Integer getClassifyType() {
    return classifyType;
  }

  public void setClassifyType(Integer classifyType) {
    this.classifyType = classifyType;
  }


  public String getClassifyName() {
    return classifyName;
  }

  public void setClassifyName(String classifyName) {
    this.classifyName = classifyName;
  }


  public Integer getClassifyRank() {
    return classifyRank;
  }

  public void setClassifyRank(Integer classifyRank) {
    this.classifyRank = classifyRank;
  }


  public String getClassifyIcon() {
    return classifyIcon;
  }

  public void setClassifyIcon(String classifyIcon) {
    this.classifyIcon = classifyIcon;
  }


  public String getClassifyBigPic() {
    return classifyBigPic;
  }

  public void setClassifyBigPic(String classifyBigPic) {
    this.classifyBigPic = classifyBigPic;
  }


  public String getClassifyAdvPic() {
    return classifyAdvPic;
  }

  public void setClassifyAdvPic(String classifyAdvPic) {
    this.classifyAdvPic = classifyAdvPic;
  }


  public String getClassifyAdvUrl() {
    return classifyAdvUrl;
  }

  public void setClassifyAdvUrl(String classifyAdvUrl) {
    this.classifyAdvUrl = classifyAdvUrl;
  }


  public Integer getClassifyStatus() {
    return classifyStatus;
  }

  public void setClassifyStatus(Integer classifyStatus) {
    this.classifyStatus = classifyStatus;
  }


  public Integer getClassifyShow() {
    return classifyShow;
  }

  public void setClassifyShow(Integer classifyShow) {
    this.classifyShow = classifyShow;
  }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
}
